﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Common
    {
        private string name;

        public string Name
        {
            get { return this.name ; }
            set { this.name = value; }
        }

        public Common()
        { 
        
        }

        public  Common(string name)
        {
            this.name = name;
        }
        public void Eat()
        {
            Console.WriteLine("{0}我能吃",this.name);
        }
    }
}
